Datasources & Events

When you need to add or modify datasources or events, please do it here in the "collection_event" folder.

Location:
<repo root>/candycrushsaga/packages/ccsm_plugins/collection_event/data_sources.json
<repo root>/candycrushsaga/packages/ccsm_plugins/collection_event/events.json

These files are used as templates when generating/updating the "real" json files. They are not used by either the client or the Fiction Editor themselves.

After you have made your changes; run the python script "update_json.py".
Location:
<repo root>/ota/scripts/collection_event/update_json.py

Steps:
Navigate to: <repo root>/ota/scripts/collection_event/
Run script: python update_json.py

This will update the datasources and events for every collection event instance. These are located in the json-folder and are the ones that are used by the Fiction Editor.

Location for updated json files.

<repo root>/candycrushsaga/packages/ccsm_plugins/collection_event/res/common/collection_event/json/collection_event/
<repo root>/candycrushsaga/packages/ccsm_plugins/collection_event/res/common/collection_event/json/collection_event_2/
etc.